<template>
    <div>
        <jzt-breadcrumb
            :breadcrumb-data="breadcrumbData"
            :breadcrumb-obj-field="breadcrumbObjField"
            @handle-breadcrumb-click="handleBreadcrumbClick"
            />
    </div>
</template>
<script setup>
import {ref} from 'vue'
const breadcrumbObjField = ref({
    breadcrumbPath:'path',
    breadcrumbName:'title'
})
const breadcrumbData = ref([
    {
        path:'/components/input',
        title:'面包屑标题1'
    },
    {
        path:'/components/input-number',
        title:'面包屑标题2'
    },
    {
        path:'/components/switch',
        title:'面包屑标题3'
    }
])
const handleBreadcrumbClick = (val)=>{
    alert(JSON.stringify(val))
}
</script>
  
  